///
/// model 根对象
///
class BaseModel {
  final String msg;
  final int code;
  final Object res;

  BaseModel({this.msg, this.code, this.res});

  factory BaseModel.fromJson(Map<String, dynamic> json) {
    return BaseModel(
      msg: json['msg'],
      code: json['code'],
      res: json['res'],
    );
  }
}
